<?php  
header ("Content-Type:text/xml");  
?> 
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
	<loc>http://www.vacosi.com</loc>
	<priority>1.00</priority>
	<changefreq>daily</changefreq>
</url>
<?php
	foreach ( $type_arr as $value)
	{
		$typeURL = TypeUrl($value);
		echo "<url>\n";
		echo "\t<loc>$typeURL</loc>\n";
		echo "\t<priority>0.90</priority>\n";
		echo "\t<changefreq>daily</changefreq>\n";
		echo "</url>\n";
	}
	
	foreach ( $product_arr as $value)
	{
		$productURL = ProductUrl($value);
		echo "<url>\n";
		echo "\t<loc>$productURL</loc>\n";
		echo "\t<priority>0.80</priority>\n";
		echo "\t<changefreq>daily</changefreq>\n";
		echo "</url>\n";
	}
?>
</urlset>